package demo.jdk.features.Base;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Ranchoz  2018/9/9 17:32
 **/
public class SampleData {

	private static List<Artist> threeArtists;

	static {
		if (threeArtists == null) {
			threeArtists = new ArrayList<>();
		}
		threeArtists.add(new Artist("a", "1"));
		threeArtists.add(new Artist("b", "2"));
		threeArtists.add(new Artist("c", "3"));
	}

	public SampleData(List<Artist> threeArtists) {
		this.threeArtists = threeArtists;
	}

	public static List<Artist> getThreeArtists() {
		return threeArtists;
	}


}
